package cn.wolfcode.service;

import cn.wolfcode.domain.Emp;
import cn.wolfcode.domain.PageBean;
import cn.wolfcode.domain.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Date;
import java.util.List;

public interface EmpService {
    PageBean page(Integer page, Integer pageSize, String name, Integer gender, Date begin, Date end);

    void delList(List<Long> ids);

    void add(Emp emp);

    Result empUpLoad(MultipartFile file) throws IOException;

    Emp getById(Long id);

    void edit(Emp emp);

    Result login(Emp emp);
}
